package com.oazon.moco.link.event;

import com.oazon.moco.link.core.LinkEvent;
import com.oazon.moco.link.core.source.LinkEventSource;


public class BatteryEvent extends LinkEvent
{
	private static final long serialVersionUID = -3692752780158849671L;

	public BatteryEvent(LinkEventSource source) {
		super(source);
	}

	private int charge_percent=0;
	
	private float voltage = 0;
	
	private BatteryStatus state;

	public float getVoltage() {
		return voltage;
	}

	public void setVoltage(float voltage) {
		this.voltage = voltage;
	}

	public int getCharge_percent() {
		return charge_percent;
	}

	public void setCharge_percent(int charge_percent) {
		this.charge_percent = charge_percent;
	}

	public BatteryStatus getState() {
		return state;
	}

	public void setState(BatteryStatus state) {
		this.state = state;
	}
	
}

